package org.x.user.vo;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

import java.util.List;

@Data
public class UserAclVO {

    private Long userId;
    private List<String> roles;
    private List<String> permissions;
    private List<MenuTreeVO> menuTree;


    @Data
    public static class MenuTreeVO {
        private Long id;
        private String path;
        private String name;
        private String icon;
        private Boolean requiresAuth;
        private String component;
        private JSONObject meta;
        private List<MenuTreeVO> children;
    }

}
